import Vue from 'vue'
import { Sidebar, SidebarItem } from 'vant'
import router from './routers/index.js'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from "axios";
Vue.use(Vant);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.prototype.$axios = axios.create({
    baseURL: 'http://localhost:3000'
})
Vue.config.productionTip = false

new Vue({
    router,
    render: function(h) { return h(App) },
}).$mount('#app')